package com.example.psychologicalappointmentsystem.JpaRepository;

import com.example.psychologicalappointmentsystem.Entity.UserQuestionnaire;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface UserQuestionnaireRepository extends JpaRepository<UserQuestionnaire,Long>{

    //查询用户下所有问卷的答案
    List<UserQuestionnaire> findByUserId(Long UserId);

}
